package com.mes.cloud.domain.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * Created by Lenovo on 2017/10/17.
 */
@Component
@RefreshScope
@Data
public class DomainAutoConfiguration {
    @Value("${domain-config.siteID}")
    private String siteID;

    @Value("${domain-config.loginType}")
    private String loginType;

    @Value("${domain-config.intTimeOut}")
    private int intTimeOut;

    @Value("${domain-config.extranetRequest}")
    private String extranetRequest;

    @Value("${domain-config.requestAddress}")
    private String requestAddress;

    @Value("${domain-config.key}")
    private String key;

    @Value("${domain-config.aseIV}")
    private String aseIV;

    @Value("${domain-config.siteHemePage}")
    private String siteHemePage;
}
